<!doctype html>
<html>
<head>
    <title>内容列表页面</title>
    <?php $this->load->module('admin/index/page_header');?>
    <link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
</head>
<body>
<div class="wrap J_check_wrap">
    <div class="nav">
        <ul>
            <li><a href="<?php echo site_url('weixin/vote');?>">返回活动列表</a></li>
            <li class="current"><a href="<?php echo site_url('weixin/vote/votelog');?>">选手列表</a></li>
            <li><a href="<?php echo site_url('weixin/vote/votelogadd');?>">添加选手</a></li>
        </ul>
    </div>
    <form method="post" action="">
        <div class="table_list" id="content">
            <table width="100%" data-uri="<?php echo site_url('article/admin/ajax_status');?>">
                <thead>
                <tr>
                    <td colspan="2">操作</td>
                    <td>标题</td>
                    <td colspan="2">添加/更新</td>
                </tr>
                </thead>
                <?php if(!empty($list)):?>
                    <tbody>
                    <?php foreach($list as $val):?>
                        <tr>
                            <td class="btn_min">
                                <div class="operat hidden">
                                    <a class="icon-cog action" href="javascript:;">处理</a>
                                    <div class="menu_select">
                                        <ul>
                                            <li><a class="icon-pencil" href="<?php echo site_url('weixin/vote/edit/?id='.$val['id']);?>">编辑</a></li>
                                            <li><a class="icon-remove-2 doDel" href="javascript:;" data-uri="<?php echo site_url('weixin/vote/vote_delete/?id='.$val['id']);?>">删除</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </td>

                            <td><a href="<?php echo site_url('special/vote?id='.$val['id']);?>" target="_blank" title="预览">预览</a></td>

                            <td><a href="<?php echo site_url('weixin/vote/edit/?id='.$val['id']);?>"><?php echo  $val['title'];?></a></td>

                            <td><?php echo date('Y-m-d H:i', $val['crts']), ' / ', date('Y-m-d H:i', $val['upts']);?></td>
                            <td><a href="<?php echo site_url('')?>">选手管理</a></td>
                        </tr>
                    <?php endforeach;?>
                    </tbody>
                <?php endif;?>
            </table>
        </div>
    </form>
    <div class="page_nav">
        <?php echo $this->mypageclass->show(2); ?>
    </div>
</div>

</body>
</html>